﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GHRMS.MODEL
{
    [Serializable]
    public class RoyalItemRequestInfo : RecordInfo
    {
        private int req_seq;
        private EmployeeInfo emp_seq;        
        private RoyalItemInfo royal_item_seq;
        private RoyalItemInfo curr_royal_item_seq;
        private PositionInfo pos_seq;
        private ClassInfo class_seq;
        private JobSiteInfo job_site_seq;
        private EmployeeTypeInfo emp_type_seq;
        private int req_year;
        private Nullable<double> salary;
        private bool need;

        public RoyalItemRequestInfo()
        {         
        }
        public RoyalItemRequestInfo(int Sequence)
        {
            this.Sequence = Sequence;
        }
        public RoyalItemRequestInfo(int Sequence, EmployeeInfo Employee, PositionInfo Position, ClassInfo Class
            , JobSiteInfo JobSite, RoyalItemInfo RoyalItem, RoyalItemInfo CurrentRoyalItem, int RequestYear
            , Nullable<double> Salary, bool Need
            , string Remarks, string RecordStatus, Nullable<int> CreatedBy, Nullable<int> UpdatedBy)
        {
            this.Sequence = Sequence;
            this.Employee = Employee;
            this.Position = Position;
            this.Class = Class;
            this.JobSite = JobSite;
            this.RoyalItem = RoyalItem;
            this.CurrentRoyalItem = CurrentRoyalItem;
            this.RequestYear = RequestYear;
            this.Salary = Salary;
            this.Need = Need;
            this.Remarks = Remarks;
            this.RecordStatus = RecordStatus;
            this.CreatedBy = CreatedBy;
            this.UpdatedBy = UpdatedBy;
        }
        public int Sequence
        {
            get { return req_seq; }
            set { req_seq = value; }
        }
        public EmployeeInfo Employee
        {
            get { return emp_seq; }
            set { emp_seq = value; }
        }
        public PositionInfo Position
        {
            get { return pos_seq; }
            set { pos_seq = value; }
        }
        public ClassInfo Class
        {
            get { return class_seq; }
            set { class_seq = value; }
        }
        public JobSiteInfo JobSite
        {
            get { return job_site_seq; }
            set { job_site_seq = value; }
        }
        public EmployeeTypeInfo EmployeeType
        {
            get { return emp_type_seq; }
            set { emp_type_seq = value; }
        }
        public RoyalItemInfo RoyalItem
        {
            get { return royal_item_seq; }
            set { royal_item_seq = value; }
        }
        public RoyalItemInfo CurrentRoyalItem
        {
            get { return curr_royal_item_seq; }
            set { curr_royal_item_seq = value; }
        }
        public int RequestYear
        {
            get { return req_year; }
            set { req_year = value; }
        }
        public Nullable<double> Salary
        {
            get { return salary; }
            set { salary = value; }
        }
        public bool Need
        {
            get { return need; }
            set { need = value; }
        }
    }
}
